import {observable} from 'mobx'

const shoppingCarListStore = observable({
  shoppingCarList: new Set<any>(),
  clear() {
    this.shoppingCarList.clear()
  },
  add(data: any) {
    this.shoppingCarList.add(data)
  },
  remove(data: any) {
    this.shoppingCarList.delete(data);
  },
})
export default shoppingCarListStore
